<!--{include header}-->
<form name="frmSubmit" method="get">
<input type="hidden" name="modify_table" value="{$table}"/>
<input type="hidden" name="modify_id" value="{$id}"/>
<table style="width:100% !important;width:94%;"  border="0" cellspacing="1" cellpadding="8" align="center">
<!--{foreach $ft AS $ftype=>$ftype_name}-->
<!--{if isset($fields[$ftype])}-->
  <tr class="tableHeader">
  	<td colspan="2">&nbsp;{$ftype_name}</td>
  </tr>
  <!--${$index=0;}-->
  <!--{foreach $fields[$ftype] AS $one}-->
    <tr class="bg_${$index++%2}"> 
      <td align="right" width="100" valign="top">${isset($map[$one['name']])?$map[$one['name']]:$one['name']}：&nbsp;</td>
      <td align="left">
	<!--{if 'text'==$ftype}-->
	      <textarea name="{$one['name']}" rows="13" cols="60"/>{$record[$one['name']]}</textarea>
	<!--{elif 'id'==$ftype}-->
	      <input name="{$one['name']}" type="text" readOnly value="{$record[$one['name']]}" size="60"/>
	<!--{elif 'select'==$ftype}-->
	      <!--{if 'set'==$one['type']}-->
	      <select name="{$one['name']}[]" multiple>
	      <!--{else}-->
	      <select name="{$one['name']}">
	      <!--{/if}-->
		${Utility::Option($one['extra'], $record[$one['name']])}
	      </select>
	<!--{else}-->
	      <input name="{$one['name']}" type="text" value="${htmlSpecialChars($record[$one['name']])}" size="60"/>
	<!--{/if}-->
      </td>
    </tr>
  <!--{/foreach}-->
<!--{/if}-->
<!--{/foreach}-->
<tr class="bg_1">
	<td align="center" colspan="2"><input type="submit" value="提交"/>&nbsp;<input type="reset" value="重置"/></td>
</tr>

</table>
<!--{include footer}-->
